export let SERVER_BASE_URL = "175.27.156.196";

export let MOVE_SPEED = 5;

export interface MsgCallback {
    code?: number;
    status?: number;
    callback: Function;
    caller?: any;
}

export interface AttackLevel {
    badgeCost?: number;
    configId?: string
    damageValue?: number;
    level?: number;
}

export interface RewardConfig {
    immediateReturnRate?: number,
    initialEscapeTime?: number,
    lastHitBonusRate?: number,
    lockBoxRate?: number,
    nextRoundHealthIncreaseRate?: number,
    platformDestroyRate?: number,
    playerShareRate?: number,
    raidHealth?: number,
    raidHealthIncreaseRate?: number,
    raidInterval?: number,
    roundInterval?: number,
}

export interface TimeConfig {
    enabled?: boolean;
    startTime?: boolean;
    endTime?: string;
}

export interface CountDownTime {
    msg?: string;
    countdownType?: string;
    data?: number;
    type?: string;
    status?: number;
}

export interface GameStatus {
    playable?: boolean;
    raid_status?: boolean;
    current_round?: boolean;
}

export interface RaidStatus {
    raidId?: string;
    isActive?: boolean;
    health?: number;
    maxHealth?: number;
    escapeCountdown?: string;
}

export interface CheatData {
    boxId?: string;
    playerUserId?: number;
    raidId?: number;
    badgeAmount?: number;
    boxStatus?: number;
    unlockRaidId?: number;
}

export interface PlayerData {
    playerId?: number;
    playerName?: string;
    avatarUrl?: string;
}

export interface EscapePoolData {
    plaer?: PlayerData;
    lastHitBonus?: number;
    escapeTotalPool?: number;
}